package edu.unsw.comp9321.jdbc;

import java.io.Serializable;
import java.util.Date;

public class BookingDTO implements Serializable{

	
	private static final long serialVersionUID = 1L;
	private int id;
	private int carId;
	private String customerName;
	private int customerPin;
	private Date bookingDate;
	private Date startDate;
	private Date endDate;
	
	public BookingDTO (int id, int carId, String customerName,int customerPin, Date bookingDate, Date startDate, Date endDate) {
		this.id = id;
		this.carId = carId;
		this.setCustomerName(customerName);
		this.customerPin = customerPin;
		this.bookingDate = bookingDate;
		this.startDate = startDate;
		this.endDate = endDate;
	}

	public BookingDTO () {
	
	}
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}
	
	public int getCarId() {
		return carId;
	}

	public void setCarId(int carId) {
		this.carId = carId;
	}


	public int getCustomerPin() {
		return customerPin;
	}

	public void setCustomerPin(int customerPin) {
		this.customerPin = customerPin;
	}

	public Date getBookingDate() {
		return bookingDate;
	}

	public void setBookingDate(Date bookingDate) {
		this.bookingDate = bookingDate;
	}

	public Date getStartDate() {
		return startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public String getCustomerName() {
		return customerName;
	}

	public void setCustomerName(String customerName) {
		this.customerName = customerName;
	}
	
}
